package ro.andrei.DateT;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeT {
	private Date CurrentTime;
	
	public TimeT(){
	}
	
	public void getCurrentTime(){
		DateFormat Formatter = new SimpleDateFormat("HH:mm");
		CurrentTime = new Date();
		System.out.println(Formatter.format(CurrentTime));
	}
}
